package com.yiyue.graduate.pojo;

import java.io.Serializable;

/**
 * @author yiyuexiaofusheng
 * @date 2021/1/18
 */
public class User implements Serializable {
    private Long id;
    private String loginName;
    private String loginPwd;
    //姓名
    private String userName;
    //用户手机
    private String userTel;
    //用户邮箱
    private String userEmail;
    //头像
    private String avatar;
    //余额
    private Double surplus;
    //签名
    private String user_label;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLoginName() {
        return loginName;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", loginName='" + loginName + '\'' +
                ", loginPwd='" + loginPwd + '\'' +
                ", userName='" + userName + '\'' +
                ", userTel='" + userTel + '\'' +
                ", userEmail='" + userEmail + '\'' +
                ", avatar='" + avatar + '\'' +
                ", surplus=" + surplus +
                ", user_label='" + user_label + '\'' +
                '}';
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getLoginPwd() {
        return loginPwd;
    }

    public void setLoginPwd(String loginPwd) {
        this.loginPwd = loginPwd;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel;
    }

    public String getUserEmail() {
        return userEmail;
    }

    public void setUserEmail(String userEmail) {
        this.userEmail = userEmail;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Double getSurplus() {
        return surplus;
    }

    public void setSurplus(Double surplus) {
        this.surplus = surplus;
    }

    public String getUser_label() {
        return user_label;
    }

    public void setUser_label(String user_label) {
        this.user_label = user_label;
    }

    public User(Long id, String loginName, String loginPwd, String userName, String userTel, String userEmail, String avatar, Double surplus, String user_label) {
        this.id = id;
        this.loginName = loginName;
        this.loginPwd = loginPwd;
        this.userName = userName;
        this.userTel = userTel;
        this.userEmail = userEmail;
        this.avatar = avatar;
        this.surplus = surplus;
        this.user_label = user_label;
    }

    public User() {
    }
}
